<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<s:include value="/WEB-INF/content/common/header.jsp"></s:include>
</head>
<body class="bg">
	<div class="container">
		<s:include value="/WEB-INF/content/common/title-head.jsp"></s:include>

		<div class="content">

			<s:include value="/WEB-INF/content/common/tab.jsp"></s:include>

			<script>
				$("#systemUserTab").addClass("active");
			</script>

			<div id="body">
				<div class="row">
					<div class="col-lg-10 col-lg-offset-1">
						<div class="span10 title">
							<h2>
								<s:text name="page.heading.view" />
							</h2>
						</div>
						<div class="create-area right">
							<s:url action="add" namespace="/systemUser" var="systemUserAddUrl" />
							<s:a href="%{#systemUserAddUrl}"
								cssClass="btn btn-mini btn-primary" targets="targetDiv">
								<s:text name="global.add" />
							</s:a>
						</div>

						<table class="table table-striped">
							<tr>
								<td><s:text name="user.name" /></td>
								<td><s:property value="systemUser.name" /></td>
							</tr>
							<tr>
								<td><s:text name="user.email" /></td>
								<td><s:property value="systemUser.email" /></td>
							</tr>
							<tr>
								<td><s:text name="user.type" /></td>
								<td><s:property value="systemUser.userType" /></td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
							</tr>
							<tr>	
								<td colspan="2"><s:url var="editUserUrl" action="edit"
										namespace="/systemUser" includeParams="none">
										<s:param name="id" value="%{systemUser.id}" />
									</s:url> <s:a href="%{#editUserUrl}" cssClass="btn btn-primary">
										<s:text name="global.edit" />
									</s:a></td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>
		<s:include value="/WEB-INF/content/common/footer.jsp"></s:include>
	</div>
</body>
</html>